Skip to main content

EffectPropertyColor

Type​

operator

Summary​

The color of an effect.

Syntax​

the color of <mEffect>

Description​

The color of mEffect as a color.

Parameters​

NameTypeDescription

mEffect

An expression which evaluates to an effect.

Examples​

// Create an effect with color "black"
variable tProps as Array
put the empty array into tProps

put color [0,0,0] into tProps["color"]

variable tEffect as Effect
put outer shadow effect with properties tProps into tEffect

// Change effect color to green.
set the color of tEffect to color [0,1,0]
Thank you for your feedback!

Was this page helpful?